package com.vincent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("salary")
public class Salary implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(value = "employ_id")
    private Integer employId;

    private Date created;

    @TableField(value = "before_salary")
    private Float beforeSalary;

    private Float salary;

    private String remark;

}
